package com.zatech.cgnci.project.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 审批流程节点规则配置角色用户表
 * </p>
 *
 * @author Generator
 * @since 2025-02-12
 */
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Getter
@Setter
@Accessors(chain = true)
@TableName("cgnci_approval_config_role_user")
@ApiModel(value = "CgnciApprovalConfigRoleUserDO对象", description = "审批流程节点规则配置角色用户表")
public class CgnciApprovalConfigRoleUserDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键id")
    @TableId(value = "role_user_id", type = IdType.ASSIGN_ID)
    private Long roleUserId;

    @ApiModelProperty("任务类型")
    private String taskType;

    @ApiModelProperty("任务类型编码")
    private String taskTypeCode;

    @ApiModelProperty("授权发起人姓名(只有授权场景才有值)")
    private String authName;

    @ApiModelProperty("授权发起人工号(只有授权场景才有值)")
    private String authCode;

    @ApiModelProperty("当前处理人节点")
    private String currentApproverNode;

    @ApiModelProperty("当前处理人名字")
    private String currentApproverName;

    @ApiModelProperty("当前处理人工号")
    private String currentApprover;

    @ApiModelProperty("起期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT-8")
    private Date startDate;

    @ApiModelProperty("止期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT-8")
    private Date endDate;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("创建人员工号")
    private String createUser;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("更新人员工号")
    private String updateUser;


}
